package com.example.cms.pojo;

import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @author Enzo
 * @Description 查询参数类
 * @date 2018-11-13 16:06
 */
public class QueryParams {
    @ApiModelProperty("当前页码")
    private Integer curr_page=1;
    @ApiModelProperty("每页显示的记录数")
    private Integer page_size=10;
    @ApiModelProperty("查询条件")
    private String where="";
    @ApiModelProperty("排序")
    private String order;

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getWhere() {
        return where;
    }

    public void setWhere(String where) {
        this.where = where;
    }

    public Integer getCurr_page() {
        return curr_page;
    }

    public void setCurr_page(Integer curr_page) {
        this.curr_page = curr_page;
    }

    public Integer getPage_size() {
        return page_size;
    }

    public void setPage_size(Integer page_size) {
        this.page_size = page_size;
    }
}
